<%@ page language="java"  pageEncoding="utf-8"%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
System.out.println(path);
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("basePath",basePath);

%>
<html>
<head>
<title>CheckBox fieldValue Test</title>
</head>
<body>
<h3>拷贝项目升级包工具，和拷贝路径工具</h3>

<s:form action="exportExcelAction">
<table border ="1">
   <s:iterator value="[0].filePathList" var="aa"  >
    	<s:property value="aa"/> <br/>
    </s:iterator>
<s:property value="[0].countFile"/> 文件
</table>

<s:iterator value="#application['checkboxIte']" var="sm" >
	<s:checkbox name="magazines" 
	            label="%{checkboxVal}"
	            fieldValue="%{checkboxKey}" />
</s:iterator>

<s:hidden name="copyPath" value="%{#request.copyPath}" />

<s:hidden name="toCopyPath" value="%{#request.toCopyPath}"  />
請選擇需要以下為後綴的文件<s:submit> 下載Excel檔案</s:submit>



</s:form>

</body>
</html>
